package com.xiaoshuidi.cloud.module.contract.controller.admin.contract;

import com.xiaoshuidi.cloud.framework.common.pojo.CommonResult;
import com.xiaoshuidi.cloud.module.contract.enums.ApiConstants;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import static com.xiaoshuidi.cloud.framework.common.pojo.CommonResult.success;

@Tag(name = "合同模块 - 合同规则设置")
@RestController
@Validated
@RequestMapping(ApiConstants.NAME + "/contract-rule-config")
public class ContractRuleConfigController {
    @PostMapping("/create")
    @Operation(summary = "创建合同规则设置")
    public CommonResult<Boolean> create(){
        return success(true);
    }
}
